package com.bodu.enums;

/**
 * 生成的文件类型
 *
 * @author:Administrator
 * @create:2022-04-21 9:12
 */
public enum GenFileTypeEnum {

    ALL(0, "all"),
    CONTROLLER(1, "controller"),
    SERVICE(2, "service"),
    SERVICE_IMPL(3, "service_impl"),
    DAO(4, "dao"),
    DAO_XML(5, "dao_xml")
    ;

    private Integer key;

    private String description;

    GenFileTypeEnum(Integer key, String description) {
        this.key = key;
        this.description = description;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
